//
//  Config.h
//  nonghubao
//
//  Created by 王 文彬 on 13-1-24.
//  Copyright (c) 2013年 mypocketbaby. All rights reserved.
//


//测试环境  生产环境切换
#define _CONFIG_RUNTIME_NAME                        @"deploy"          //testing  deploy

#define _CONFIG_APP_KEY                             @"NHB"

//社会化
#define WEI_XIN_ID                                  @"wx6aa22a37867db10c"
#define QQ_ID                                       @"100570881"

#define _CONFIG_UMENG_APPKEYS                       @{@"testing" : @"51357cb75270153e5700006a", @"deploy" : @"5148708d56240b5f0c003c30"}
#define _CONFIG_PAY_FLAG                            @{@"testing" : @1, @"deploy" : @0}
#define _CONFIG_API_PREFIX                          @{@"testing" : @"http://api.test.mypocketbaby.com/v1_8", @"deploy" : @"http://api.nonghubao.com/v1_8"}
//http://api.test.mypocketbaby.com/v1_8    http://apibeta.nonghubao.com/v1_8
//微客服账户
#define _CONFIG_KEFU_KEYS                           @{@"testing" : @"fc5b91792222d1bce89d04ba4997710a", @"deploy" : @"17e0e4f2723a8c9ec27b5808b3560a2c"}
#define _CONFIG_KEFU_ACCOUNTS                       @{@"testing" : @"betacs", @"deploy" : @"nonghubao"}
#define _CONFIG_KEFU_PASSWORDS                      @{@"testing" : @"ssssss", @"deploy" : @"ssssss"}

#define _CONFIG_YIJIPAY_FLAGS                       @{@"testing" : @"01", @"deploy" : @"00"}

#define _CONFIG_SHARE_PAGE                          @{@"testing" : @"http://beta.mypocketbaby.com/%@/d/%d", @"deploy" : @"http://www.mypocketbaby.com/%@/d/%d"}

#define _SYS_YIJIPAY_FLAG                           _CONFIG_YIJIPAY_FLAGS[_CONFIG_RUNTIME_NAME]
#define _SYS_UMENG_APPKEY                           _CONFIG_UMENG_APPKEYS[_CONFIG_RUNTIME_NAME]
#define _SYS_PAY_FLAG                               [_CONFIG_PAY_FLAG[_CONFIG_RUNTIME_NAME] intValue]
#define _SYS_API_PREFIX                             _CONFIG_API_PREFIX[_CONFIG_RUNTIME_NAME]
#define _SYS_KEFU_KEY                               _CONFIG_KEFU_KEYS[_CONFIG_RUNTIME_NAME]
#define _SYS_KEFU_ACCOUNT                           _CONFIG_KEFU_ACCOUNTS[_CONFIG_RUNTIME_NAME]
#define _SYS_KEFU_PASSWORD                          _CONFIG_KEFU_PASSWORDS[_CONFIG_RUNTIME_NAME]
#define _SYS_SHARE_PAGE                             _CONFIG_SHARE_PAGE[_CONFIG_RUNTIME_NAME]

//服务协议
#define URL_AGREEMENT                                @"http://nonghubao.com/agreement.html"

//物流新手指南URL
#define URL_LOGISTICS_GUIDE                          @"http://nonghubao.com/faq_freight.html"

//JPush
//#define JPUSH_APPKEY                                @"2dba82401810bdd2214aed10"      //测试环境
//#define JPUSH_APPKEY                                @"7ed69f17e2a557f58f156266"      //生产环境

//闪屏页面数
#define SPLASH_PICTURE_NUM 5

//闪屏的按钮位置，“武钢生活圈”之前的BB，都用“0” 之后的BB，用“1”  使用“1”时，表示登录注册按钮往上抬一点
//取值范围：0  1
#define SPLASH_BUTTONS_POSITION 0

#import "Constants.h"
#import "Url-Config.h"
#import "Enum-Config.h"

